select max id laravel

52

select max id laravel -

 \DB::table('orders')->where('id', \DB::raw("(select max(`id`) from orders)"))->get();

Comments

Submit
0 Comments